package com.success.task.web.lucene.data;

import java.io.Serializable;

public class ResultData implements Serializable{

	private static final long serialVersionUID = 4245453534848606263L;
	
	private String resultTitle = "";
	
	private String resultContent = "";
	
	private long resultDate = 0L;
	
	private long resultInsertor = 0L;
	
	private String resultInsertorName = "";
	
	private String resultAccessPath = "";
	
	private long resultSize = 0L;
	
	/**
	 * 0 文件索引
	 * 1数据库索引
	 */
	private int type = 0; 
	
	
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public long getResultSize() {
		return resultSize;
	}

	public void setResultSize(long resultSize) {
		this.resultSize = resultSize;
	}

	public String getResultAccessPath() {
		resultAccessPath = resultAccessPath.replaceAll("\\\\", "/");
		return resultAccessPath;
	}

	public void setResultAccessPath(String resultAccessPath) {
		this.resultAccessPath = resultAccessPath;
	}

	public String getResultTitle() {
		return resultTitle;
	}

	public void setResultTitle(String resultTitle) {
		this.resultTitle = resultTitle;
	}

	public String getResultContent() {
		return resultContent;
	}

	public void setResultContent(String resultContent) {
		this.resultContent = resultContent;
	}

	public long getResultDate() {
		return resultDate;
	}

	public void setResultDate(long resultDate) {
		this.resultDate = resultDate;
	}

	public long getResultInsertor() {
		return resultInsertor;
	}

	public void setResultInsertor(long resultInsertor) {
		this.resultInsertor = resultInsertor;
	}

	public String getResultInsertorName() {
		return resultInsertorName;
	}

	public void setResultInsertorName(String resultInsertorName) {
		this.resultInsertorName = resultInsertorName;
	}
	
}
